
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("MIS_ARTICLE")] 
     public partial class MIS_Article
    {
        public MIS_Article()
        {
            this.MIS_Article_Albums = new HashSet<MIS_Article_Albums>();
            this.MIS_Article_Comment = new HashSet<MIS_Article_Comment>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("CHANNELID")] 
     public int ChannelId { get; set; }
        [Column("CATEGORYID")] 
     public string CategoryId { get; set; }
        [Column("TITLE")] 
     public string Title { get; set; }
        [Column("IMGURL")] 
     public string ImgUrl { get; set; }
        [Column("BODYCONTENT")] 
     public string BodyContent { get; set; }
        [Column("SORT")] 
     public Nullable<int> Sort { get; set; }
        [Column("CLICK")] 
     public Nullable<int> Click { get; set; }
        [Column("CHECKFLAG")] 
     public int CheckFlag { get; set; }
        [Column("CHECKER")] 
     public string Checker { get; set; }
        [Column("CHECKDATETIME")] 
     public Nullable<System.DateTime> CheckDateTime { get; set; }
        [Column("CREATER")] 
     public string Creater { get; set; }
        [Column("CREATETIME")] 
     public Nullable<System.DateTime> CreateTime { get; set; }
        [Column("CUSTOMLINK")] 
     public string CustomLink { get; set; }
        [Column("ISTYPE")] 
     public int IsType { get; set; }
    
        public virtual ICollection<MIS_Article_Albums> MIS_Article_Albums { get; set; }
        public virtual ICollection<MIS_Article_Comment> MIS_Article_Comment { get; set; }
        public virtual MIS_Article_Category MIS_Article_Category { get; set; }
        public virtual SysUser SysUser { get; set; }
        public virtual SysUser SysUser1 { get; set; }
    }
}
